package modelLayer;

public abstract class Product {
	private int productId;
	private String name;
	private double purchasePrice;
	private double salesPrice;
	private double rentPrice;
	private String countryOfOri;
	private int minStock;
	private Supplier supplier;
	
	/*
	 * Constructor of the abstract class Product:
	 * @param int productId, String name, double purchasePrice, 
	 * @param double salesPrice, double rentPrice, String countryOfOri
	 * @param int minStock
	 * */
	public Product(){}

	/*
	 * Get and set method for productId
	 * @return int productId
	 * @param int productId
	 * */
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	/*
	 * Get and set method for Name
	 * @return String name
	 * @param String name
	 * */
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	/*
	 * Get and set method for purchasePrice
	 * @return double purchasePrice
	 * @param double purchasePrice
	 * */
	public double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	/*
	 * Get and set method or salesPrice
	 * @return double salesPrice
	 * @param double salesPrice
	 * */
	public double getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}
	/*
	 * Get and set method for rentPrice
	 * @return double rentPrice
	 * @param double rentPrice
	 * */
	public double getRentPrice() {
		return rentPrice;
	}
	public void setRentPrice(double rentPrice) {
		this.rentPrice = rentPrice;
	}
	/*
	 * Get and set method for countryOfOri
	 * @return String countryOfOri
	 * @param String countryOfOri
	 * */
	public String getCountryOfOri() {
		return countryOfOri;
	}
	public void setCountryOfOri(String countryOfOri) {
		this.countryOfOri = countryOfOri;
	}
	/*
	 * Get and set method for minStock
	 * @return int minStock
	 * @param int minStock
	 * */
	public int getMinStock() {
		return minStock;
	}
	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}
	/*
	 * Get and set method for supplierId
	 * @return int supplierId
	 * @param int supplierId
	 * */
	public Supplier getSupplier() {
		return supplier;
	}
	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}
}
